﻿@{
   DataHelper.SEO seo = ViewBag.SEO;
    ViewBag.Title = "Home Page";
    Lang lang = ViewBag.Lang;
    PortalAccount.PortalUser LoginUser = ViewBag.LoginUser;
}
<div id="menu">
    <div id="lang">
        <span style="float:left">
            @if (LoginUser!=null && LoginUser.INFO != null)
            { 
                <a href="/Admin" style="float:left;font-weight:bold">@LoginUser.INFO.Name </a>
                <a href="/Account/LogOff" style="float:left"> (Thoát)</a>
            }
            else
            {
            <a href="/Account/Login">Đăng nhập</a>
            }
        </span>
        @if (lang.iLang == 1)
        {
            <a href="?lang=2">
                <img alt="English" src="@seo.Domain/Content/Images/Site/en.jpg" class="left" />
                <span class="left">English</span> </a>
        }
        else
        { 
            <a href="?lang=1">
                <img alt="Vietnam" src="@seo.Domain/Content/Images/Site/vi.jpg" class="left" />
                <span class="left">Tiếng việt</span> </a>
        }
        <form action="@seo.Domain/news" >
        <input type="text" name="keyword" class="input" placeholder="@lang.SEARCH"/>
        </form>
    </div>
</div>
<div id="banner" class="clear">
    <ul id="menu">
        <li id="logo"><a href="/">
            <img alt="logo-thegioivere" src="/Content/Images/Site/logo.jpg">
        </a></li>
        <li id="flightsearch" class="m-item"><a href="@seo.Domain/news/travel">@lang.TRAVEL</a></li>
        <li id="bigsale" class="m-item"><a href="@seo.Domain/news/bigsale">@lang.BIGSALE</a></li>
        <li id="ourwork" class="m-item"><a href="@seo.Domain/news/ourwork">@lang.OURWORK</a></li>
        <li id="blog" class="m-item"><a href="@seo.Domain/news/resale">@lang.RESALE</a></li>
        <li id="contacts" class="m-item"><a href="@seo.Domain/about">@lang.ABOUTUS </a></li>
    </ul>
    <div style="height: 300px">
        <img alt="ve may bay gia re, khuyen mai" src="@seo.Domain/Content/Images/Site/banner.png"/>
    </div>
</div>
<div id="share">
    <link href="/Content/vtlai_shareside.css" rel="stylesheet" type="text/css" />
    <link href="/Content/vtlai_requestdel.css" rel="stylesheet" type="text/css" />
    <menu class="shareBar side-sharebar" id="shareBar" style="left: 0 !important">
        <div class="item">
            <p class="recentCount">
                <span class="countNumber">&nbsp;</span><br>
                &nbsp;</p>
        </div>
        <div class="item">
            <div class="fb-like" data-href="@seo.Domain" data-width="The pixel width of the plugin" 
            data-height="The pixel height of the plugin" data-colorscheme="light" data-layout="box_count" 
            data-action="like" data-show-faces="true" data-send="false">
            </div>
        </div>
        <div class="item">
            <!-- Place this tag where you want the +1 button to render -->
            <g:plusone size="tall"></g:plusone>
            <!-- Place this render call where appropriate -->
            <script type="text/javascript">
                (function () {
                    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
                    po.src = 'https://apis.google.com/js/plusone.js';
                    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
                })();
            </script>
        </div>
        <div class="item">
            <div class="rqd">
                <div class="rqd_count">
                    &nbsp;</div>
                <a class="rqd_btn" title="Gửi phản hồi" href="#" onclick="alert('Chức năng này đang hoàn thiện, vui lòng quay lại sau')">
                    &nbsp;</a>
            </div>
        </div>
    </menu>
    <div id="support">
        <a href="ymsgr:SendIM?vuthanhlinh2000&m=Chào TGVR, cho mình hỏi:">
            <img src="/Content/Images/logo/yahoo.png" alt="yahoo" title="vuthanhlinh2000" />
        </a>
        <hr />
        <a href="skype:vuthanhlinh2000?chat">
            <img src="/Content/Images/logo/skype.png" alt="skype" title="vuthanhlinh2000" />
        </a>
        <hr />
        <a href="/about">
            <img src="/Content/Images/logo/phone.png" alt="phone" title="083.889.1880" />
        </a>
        <hr />
        <a href="/about">
            <img src="/Content/Images/logo/map.png" alt="@lang.ADDRESS"  title="90 Lã Xuân Oai, Quận 9, Tp Hồ Chí Minh"/>
        </a>
    </div>
    <script src="http://sinhvienit.net/forum/vtlai_js/vtlai_shareside.js" type="text/javascript"></script>
</div>
<div id="fb-root">
</div>
<script>    (function (d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=135299606648445";
        fjs.parentNode.insertBefore(js, fjs);
    } (document, 'script', 'facebook-jssdk'));
    $(".fb-like").attr("data-href", window.location.href);
</script>
<style>
    ._56z-
    {
        width: 390px !important;
    }
    #support img
    {
        width: 50px;
        height: 50px;
        margin-left: 15px;
        margin-top: 11px;
        cursor: pointer;
    }
    #support hr
    {
        border: none;
        border-top: 1px solid #ccc;
    }
</style>
